//
//  WLPhotoLiberayTool.m
//  WanLian
//
//  Created by 123456 on 2019/1/9.
//  Copyright © 2019 wanlian. All rights reserved.
//

#import "WLPhotoLiberayTool.h"
#import <AssetsLibrary/AssetsLibrary.h>

@implementation WLPhotoLiberayTool
- (void)saveVideoAtPathToPhotosAlbum:(NSURL *)fileURL completionBlock:(void (^)(NSURL *assetURL, NSError *error))completionBlock {
    ALAssetsLibrary *library = [[ALAssetsLibrary alloc] init];
    [library writeVideoAtPathToSavedPhotosAlbum:fileURL completionBlock:completionBlock];
}
@end
